
def count_Call(fn):
    runCount = 0
    def inner(*args,**kwargs):
        nonlocal runCount
        runCount += 1
        print(f"函数 '{fn.__name__}' 已被调用 {runCount} 次。")
        return fn(*args,**kwargs)

    return inner
@count_Call
def hello(content):
    print(f'hello {content}')
hello("tom")
hello("world")